<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
                <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/maps/china.js"></script>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/themes/macarons.js"></script>

    
</head>
<body >
    <div id="9d3bb819c42d45d6a94b2b5f2001d829" class="chart-container" style="width:1200px; height:600px; "></div>
    <script>
        var chart_9d3bb819c42d45d6a94b2b5f2001d829 = echarts.init(
            document.getElementById('9d3bb819c42d45d6a94b2b5f2001d829'), 'macarons', {renderer: 'canvas', locale: 'ZH'});
        var option_9d3bb819c42d45d6a94b2b5f2001d829 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "aria": {
        "enabled": false
    },
    "series": [
        {
            "type": "map",
            "name": "\u603b\u6d88\u8d39\u91d1\u989d\uff08\u5143\uff09",
            "label": {
                "show": true,
                "margin": 8,
                "valueAnimation": false
            },
            "map": "china",
            "data": [
                {
                    "name": "\u4e0a\u6d77\u5e02",
                    "value": 3437
                },
                {
                    "name": "\u5317\u4eac\u5e02",
                    "value": 4417
                }
            ],
            "roam": true,
            "aspectScale": 0.75,
            "nameProperty": "name",
            "selectedMode": false,
            "zoom": 1,
            "zlevel": 0,
            "z": 2,
            "seriesLayoutBy": "column",
            "datasetIndex": 0,
            "mapValueCalculation": "sum",
            "showLegendSymbol": true,
            "emphasis": {}
        }
    ],
    "legend": [
        {
            "data": [
                "\u603b\u6d88\u8d39\u91d1\u989d\uff08\u5143\uff09"
            ],
            "selected": {},
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14,
            "backgroundColor": "transparent",
            "borderColor": "#ccc",
            "borderRadius": 0,
            "pageButtonItemGap": 5,
            "pageButtonPosition": "end",
            "pageFormatter": "{current}/{total}",
            "pageIconColor": "#2f4554",
            "pageIconInactiveColor": "#aaa",
            "pageIconSize": 15,
            "animationDurationUpdate": 800,
            "selector": false,
            "selectorPosition": "auto",
            "selectorItemGap": 7,
            "selectorButtonGap": 10
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "enterable": false,
        "confine": false,
        "appendToBody": false,
        "transitionDuration": 0.4,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5,
        "order": "seriesAsc"
    },
    "title": [
        {
            "show": true,
            "text": "\u5168\u56fd\u5404\u7701\u4efd\u6d88\u8d39\u91d1\u989d\u5206\u5e03\uff08\u52a8\u6001\u5730\u56fe\uff09",
            "target": "blank",
            "subtarget": "blank",
            "top": "20px",
            "padding": 5,
            "itemGap": 10,
            "textAlign": "auto",
            "textVerticalAlign": "auto",
            "triggerEvent": false,
            "textStyle": {
                "fontWeight": "bold",
                "fontSize": 16
            }
        }
    ],
    "visualMap": {
        "show": true,
        "type": "piecewise",
        "min": 0,
        "max": 3533.6000000000004,
        "inRange": {
            "color": [
                "#50a3ba",
                "#eac763",
                "#d94e5d"
            ]
        },
        "calculable": true,
        "inverse": false,
        "splitNumber": 5,
        "hoverLink": true,
        "orient": "vertical",
        "left": "50px",
        "bottom": "50px",
        "padding": 5,
        "showLabel": true,
        "itemWidth": 20,
        "itemHeight": 14,
        "borderWidth": 0,
        "pieces": [
            {
                "min": 60000,
                "label": "6\u4e07\u4ee5\u4e0a",
                "color": "#e74c3c"
            },
            {
                "min": 40000,
                "max": 59999,
                "label": "4-6\u4e07",
                "color": "#f39c12"
            },
            {
                "min": 20000,
                "max": 39999,
                "label": "2-4\u4e07",
                "color": "#f1c40f"
            },
            {
                "min": 10000,
                "max": 19999,
                "label": "1-2\u4e07",
                "color": "#2ecc71"
            },
            {
                "max": 9999,
                "label": "1\u4e07\u4ee5\u4e0b",
                "color": "#27ae60"
            }
        ]
    }
};
        chart_9d3bb819c42d45d6a94b2b5f2001d829.setOption(option_9d3bb819c42d45d6a94b2b5f2001d829);
    </script>
</body>
</html>
